package com.ikas.ai.server.module.instance.enums;

/**
 * @author hu.bowei@ikasinfo.com
 * @date 2023-5-8 11:52:44
 * t_work_instance_step_detail表中的update_policy
 * 状态，1=更新sort排序后第一条数据，2=相同测点编码全部更新
 */
public enum WorkInstanceStepDetailUpdatePolicyEnum {

    SORT_FIRST(1, "更新sort排序后第一条数据"),
    ALL(2, "相同测点编码全部更新");

    WorkInstanceStepDetailUpdatePolicyEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private Integer code;

    private String desc;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
